<style>
    label{ display:inline-block;width: 10%}
</style>
<div class="container-fluid" style="padding: 20px 10px 0px 10px">

    <div class="row-fluid">

        <div class="well">

            <ul class="nav nav-tabs">

                <li class="active"><b>耗材报备编辑</b></li>

            </ul>

            <div id="myTabContent" class="tab-content">

                <div class="tab-pane active in" id="home">

                    <form id="formid" action="/material/add_reported" method="post" style="width: 100%;text-align: left">
                        <input type="hidden" name="id" value="<?=$reportData['id']?>">
                        <input type="hidden" name="dosubmit" value="1">

                        <p><label>组会日期 : </label>

                            <input type="text" name="group_date" readonly placeholder="组会日期" class="input input-medium" onclick='WdatePicker({dateFmt:"yyyy-MM-dd"})' value="<?=$reportData['group_date']?>">

                            <label style="padding-left: 28px;">组会地点 : </label>

                            <input type="text" name="group_place" value="<?=$reportData['group_place']?>"></p>
                        <p><label>组会课别 : </label>

                            <input type="text" name="group_class" value="<?=$reportData['group_class']?>">

                            <label style="padding-left: 28px;">组会医生 : </label>

                            <input type="text" name="group_doctor" value="<?=$reportData['group_doctor']?>"></p>

                        <p>
                            <label>报备内容 : </label>
                            <textarea style="display:inline; width: 529px; height: 50px;" name="report_content"><?=$reportData['report_content']?></textarea>

                        </p>
                        <p>
                            <label>登记人 : </label>
                            <input type="text" name="reporter" value="<?=$reportData['reporter']?>">
                        </p>


                        <div class="btn-toolbar">
                            <div class="btn-group" style="margin:30px 0 10px 280px;">
                                <input type="submit" name="" value="保存" class="btn btn-primary">
                            </div>
                        </div>
                    </form>

                </div>

            </div>

        </div>

    </div>

    <script>

        $(function(){

            $('#btn-save').click(function(){
                $('#formid').submit();
            });
        })

    </script>